package main.app.view.screens
{
	import feathers.controls.Header;
	import feathers.controls.Screen;
	import starling.display.Image;


	public class MainMenu extends Screen
	{
		private var _header:Header;
		
		override protected function initialize():void
		{
			_header = new Header();
			_header.title = "主菜单";
			addChild(_header);
			
			this.addChild(new Image(Root.assets.getTexture("church")))
		}
		
		override protected function draw():void
		{
			this._header.width = this.actualWidth;
			this._header.validate();
		}
	}
}